# -*- coding: utf-8 -*-
# https://pyda-python-downloader.googlecode.com/svn/trunk/

# import sys
# sys.path.append('/modules/mutagen')
# from mutagen.easyid3 import *
# from modules import dl
# from modules import parse
# import threading

from modules import gui

gui.init()


# Debug output for large stuff:
# f=open(r"./debug/file_n","w")
# f.write("tolog")
# f.close()

# class myThread (threading.Thread):
#     def __init__(self):#, threadID, name, counter
#         # self.threadID = threadID
#         # self.name = name
#         # self.counter = counter
#         threading.Thread.__init__(self)
#     def run(self):
#     	print("loading")
#     	dl.downloadYoutube("http://www.youtube.com/watch?feature=player_detailpage&v=b2hwWqVcD6c&list=WL62A9C48791BEF75F","./debug/test.flv","small")
#     	print("finished")

# thread1=myThread()
# thread1.start()

# dl.DownloadStarter(sys.argv[1],"hd1080")
#parse.parseYoutubeUrl("http://www.youtube.com/watch?v=Kvhxo0iBJck")

#vid = parse.Video("http://www.youtube.com/watch?v=hpWNSJjH1d8")

#print(sys.argv)

